<template>
  <div class="buyBox">
    <div class="buy" :style="{ color: activeColor, border: `0.5px solid ${activeColor}` }">
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: 'BuyBox',
  props: {
    activeColor: {
      type: String,
      default: '#ff5f16'
    }
  }
}
</script>

<style lang="scss" scoped>
.buyBox {
  display: flex;
  justify-content: center;
  align-items: center;

  .buy {
    height: 0.25rem;
    width: 0.5rem;
    text-align: center;
    line-height: 0.25rem;
    border-radius: 0.04rem !important;
  }
}
</style>